package com.oig.sys.workflow.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Schema
@Data
public class ListenerObjectVo {

	@Schema(description = "id")
	private Integer id;

	@Schema(description = "业务单据类型")
	private String relationType;
	@Schema(description = "监听对象")
	private String listenerObjectName;

	@Schema(description = "备注说明")
	private String remark;

	@Schema(description = "状态")
	private String status;

	@Schema(description = "创建人id")
	private Integer createUserId;
	@Schema(description = "创建人")
	private String createUserName;
	@Schema(description = "创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	@Schema(description = "最后更新人id")
	private Integer lastUpdateId;
	@Schema(description = "最后更新人")
	private String lastUpdateName;
	@Schema(description = "最后更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date lastUpdateTime;
	@Schema(description = "复核人id")
	private Integer checkId;
	@Schema(description = "复核人")
	private String checkName;
	@Schema(description = "复核时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date checkTime;
	@Schema(description = "复核备注")
	private String checkRemark;

	@Schema(description = "版本号")
	private Integer version;

	@Schema(description = "监听对象的监听事件列表")
	private List<ListenerEventVo> listenerEventVoList;
}
